package com.joker.orange.service;

import com.joker.orange.domain.DiamondConsumeRecord;
import com.joker.orange.domain.vo.DiamondConsumeRecordVo;
import com.joker.orange.domain.bo.DiamondConsumeRecordBo;
import com.joker.common.core.page.TableDataInfo;
import com.joker.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 充值记录Service接口
 *
 * @author Joker
 * @date 2024-06-09
 */
public interface IDiamondConsumeRecordService {

    public List<DiamondConsumeRecordVo> selectUserDiamondConsumeRecordList(DiamondConsumeRecordBo bo);

    /**
     * 查询充值记录
     */
    DiamondConsumeRecordVo queryById(Long id);

    /**
     * 查询充值记录列表
     */
    TableDataInfo<DiamondConsumeRecordVo> queryPageList(DiamondConsumeRecordBo bo, PageQuery pageQuery);

    /**
     * 查询充值记录列表
     */
    List<DiamondConsumeRecordVo> queryList(DiamondConsumeRecordBo bo);

    /**
     * 新增充值记录
     */
    Boolean insertByBo(DiamondConsumeRecordBo bo);

    /**
     * 修改充值记录
     */
    Boolean updateByBo(DiamondConsumeRecordBo bo);

    /**
     * 校验并批量删除充值记录信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
